import request from '@/utils/request'

// 新增收入支出接口
export function addIncomePay(data) {
  const reqbody = {
    timeleave: new Date().getTime(),
    income: 0,
    payment: 0,
    info: null
  }
  return request({
    url: '/incomePay',
    method: 'POST',
    data: { ...reqbody, ...data }
  })
}
